<?xml version="1.0" encoding="utf-8" ?>
<html xmlns="http://www.xidea.org/taglib/xhtml"
	xmlns:c="http://www.xidea.org/taglib/core">
<head>
<link rel="stylesheet" type="text/css" href="${css}" />
<meta http-equiv="Content-Type" content="text/html;utf-8" />
<title>Object Information:${objInfo.name}</title>
</head>
<body>
<c:if test="${objInfo.fileInfo.pkgInfo.name}">
	<h2><a
		onclick="return parent.jsdoc.gen({cmd:'genPackage',args:['${objInfo.fileInfo.pkgInfo.name}']},'')"
		href="#">${objInfo.fileInfo.pkgInfo.name}</a></h2>
</c:if>
<h2>对象信息</h2>
<table border="0" cellpadding="0" width="100%" cellspacing="0"
	class="content">
	<thead>
		<tr>
			<th><span class="obj-object"> ${objInfo.getAccess()} <a
				onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${objInfo.fileInfo.name}','${objInfo.fileInfo.pkgInfo.name}']},'${objInfo.name}')"
				href="#">${objInfo.name}</a></span> <c:set var="cons"
				value="${objInfo.getConstructorInfo()}" /> <c:if test="${cons}">
					(<a class="obj-constructor"
					onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${cons.name}','${cons.fileInfo.pkgInfo.name}']},'${cons.name}')"
					href="#">${cons.name}</a>)
			</c:if></th>
		</tr>
	</thead>
	<tr>
		<td>
		<ul>
			<c:out value="${objInfo.getDescription()}" default="&#160;"
				escapeXml='false' />
		</ul>
		</td>
	</tr>
</table>
<c:set var="si" value="${objInfo.getStaticInfos()}" />
<c:if test="${si}">
	<table cellpadding="0" width="100%" cellspacing="0" class="content">
		<thead>
			<tr>
				<th colspan="3">对象属性摘要</th>
			</tr>
		</thead>
		<c:forEach var="n" items="${si}">
			<c:set var="memInfo" value="${si['__jsdoc__' + n]}" />
			<c:set var="obj" value="${memInfo.memberInfo}" />
			<tr>
				<td><span
					title="${obj.getAccess()} ${memInfo.attributeType} ${obj.getType()}"
					class="obj-${obj.getType()}"> <c:if
					test="${memInfo.getPlace() == objInfo}">
					<a href="#${obj.name}">${n}</a>
				</c:if> <c:else>
					<a
						onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${memInfo.getPlace().name}','${memInfo.getPlace().fileInfo.pkgInfo.name}']},'${memInfo.getPlace().name+'.prototype.'+n}')"
						href="#">${n}</a>
				</c:else> </span></td>
				<td>${obj.getAccess()||'&#160;'}</td>
				<td>${obj.getShortDescription()}&#160;</td>
			</tr>
		</c:forEach>
	</table>
	<c:set var="si" value="${objInfo.getDeclaredStaticInfos()}" />
	<c:if test="${si.length>0}">
		<h2>对象属性详细信息</h2>
		<c:forEach var="n" items="${si}">
			<c:set var="memInfo" value="${si['__jsdoc__' + n]}" />
			<c:set var="obj" value="${memInfo.memberInfo}" />
			<a name="${obj.name}"></a>
			<c:choose>
				<c:when test="${obj.getType() == 'function'}">
					<span class="obj-function"> static ${obj.getAccess()}
					&lt;${obj.getReturnInfo().type}&gt; <a
						onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
						href="#">${n}</a>( <c:forEach var='p' items="${obj.getParams()}"
						varStatus="counter">
		  ${counter.index == 0 ? '':', '}
		  <c:if test="${p.type}">
		  &lt;${p.type}&gt;</c:if>
		  ${p.name}
		</c:forEach>)</span>
					<ul>
						<c:out value="${obj.getDescription()}" default="&#160;"
							escapeXml='false' />
					</ul>
					<c:if test="${obj.getParams().length}">
						<h2>参数</h2>
						<ul>
							<c:forEach var="param" items="${obj.getParams()}">
								<h3>${param.name}</h3>
								<p>${param.description||''}</p>
							</c:forEach>
						</ul>
					</c:if>
					<c:if test="${obj.getReturnInfo().type != 'void'}">
						<h2>返回</h2>
						<ul>
							<p>${obj.getReturnInfo().description||''}</p>
						</ul>
					</c:if>
				</c:when>
				<c:when test="${obj.getType() == 'constructor'}">
					<span class="obj-constructor"> static ${obj.getAccess()} <a
						onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
						href="#">${n}</a>( <c:forEach var='p' items="${obj.getParams()}"
						varStatus="counter">
		  ${counter.index == 0 ? '':', '}
		  <c:if test="${p.type}">
		  &lt;${p.type}&gt;</c:if>
		  ${p.name}
		</c:forEach>)</span>
					<ul>
						<c:out value="${obj.getDescription()}" default="&#160;"
							escapeXml='false' />
					</ul>
					<ul>
						<p>参考：<a class="obj-constructor"
							onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${obj.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
							href="#">${obj.name}</a></p>
					</ul>
				</c:when>
				<c:when test="${obj.getType() == 'object'}">
					<span class="obj-object"> static ${obj.getAccess()} <a
						onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
						href="#">${n}</a></span>
					<ul>
						<p><c:out value="${obj.getDescription()}" default="&#160;"
							escapeXml='false' /></p>
					</ul>
					<c:set var="cons" value="${obj.getConstructorInfo()}" />
					<c:if test="${cons}">
						<ul>
							<p>构造器：<a class="obj-constructor"
								onclick="return parent.jsdoc.gen({cmd:'genObject',args:['${cons.name}','${cons.fileInfo.pkgInfo.name}']},'${cons.name}')"
								href="#">${cons.name}</a></p>
						</ul>
					</c:if>
				</c:when>
				<c:otherwise>
					<span class="obj-${obj.getType()}"> static
					${obj.getAccess()} &lt;${obj.getType()}&gt; <a
						onclick="return parent.jsdoc.gen({cmd:'genSource',args:['${obj.fileInfo.name}','${obj.fileInfo.pkgInfo.name}']},'${obj.name}')"
						href="#">${n}</a></span>
					<ul>
						<c:out value="${obj.getDescription()}" default="&#160;"
							escapeXml='false' />
					</ul>
				</c:otherwise>
			</c:choose>
			<hr />
		</c:forEach>
		<br />

	</c:if>
</c:if>
</body>
</html>
